#include<stdio.h>
char* my_strcpy(char* dest,const char* src)
{
	char* ret = dest;
	while (*src!='\0')
	{
		*dest = *src;
		dest++;
		src++;
	}
	*dest = '\0';
	return ret;
}
int main()
{
	char arr1[] = "hello world";
	char arr2[20] = { 0 };
	printf("%s",my_strcpy(arr2, arr1));
	return 0;
}